-
-
Notifications
You must be signed in to change notification settings - Fork 714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Docker support for Talawa Admin repository #1453
Conversation
Our Pull Request Approval ProcessWe have these basic policies to make the approval process smoother for our volunteer team. Testing Your CodePlease make sure your code passes all tests. Our test code coverage system will fail if these conditions occur:
The process helps maintain the overall reliability of the code base and is a prerequisite for getting your PR approved. Assigned reviewers regularly review the PR queue and tend to focus on PRs that are passing. ReviewersWhen your PR has been assigned reviewers contact them to get your code reviewed and approved via:
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Congratulations on making your first PR! 🎊 If you haven't already, check out our Contributing Guidelines and PR Reporting Guidelines to ensure that you are following our guidelines for contributing and creating PR.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1453 +/- ##
===========================================
- Coverage 97.29% 97.28% -0.01%
===========================================
Files 133 132 -1
Lines 3396 3392 -4
Branches 1038 1038
===========================================
- Hits 3304 3300 -4
Misses 87 87
Partials 5 5 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Update this file with the newly added docker files
- Update
INSTALLATION.md
. Users will need to know what to expect. Use the version inTalawa-API
as a guide. - Update
setup.ts
. Use the version inTalawa-API
as a guide. This feature must be easy to implement.
Please take a look and comment. You have been involved with Docker updates to the repos in the recent past |
Merge your code with the latest upstream. The introspection tests should be passing. |
Hey @palisadoes, |
That should be merged in a day or two |
Wouldn't it be better to push the talawa-admin image to Docker Hub or any public Docker repository and then use that image in the docker-compose file for talawa-api? This way, the talawa-admin container will be in the same Docker network/group with other containers such as mongo, redis, and the talwa-api container. We can have a CI/CD pipeline to push a new image to Docker Hub on every merge, which can be pulled by the docker-compose file in the talawa-api repo. |
While @palisadoes can provide additional insights but in my opinion
Pls correct me if i am wrong. |
|
I'm not very familiar with Docker Hub but it appears to be similar to an app store.
The short term aim of dockerization is to make life of the developer less complicated in getting the app setup. |
|
Hey @palisadoes, When I committed the changes my forked branch says 7 files changed, but here it shows 232 files changed, maybe its showing the changed files of the setup script PR since it was mentioned here. So should i make a new PR or this is fine? |
Hey @palisadoes, If any changes are required please let me know! |
The documentation file bug has been fixed.
Merging with your upstream should have no conflicts |
@kb-0311 @vasujain275 Is this ready to merge? I'm not familiar with docker. |
@Devesh326 Please fix the PR, how is this changing 232 files? |
|
yeah i dont know why it was showing 232 files changed, merging with the latest upstream fixed it. |
Sure Great Idea! |
This is how you fix the 200+ file issue. We had a bug in one of our GitHub actions |
Yeah now its resolved, i just merged the upstream branch and now its fixed!! Noted for future reference, thanks! |
@kb-0311 @vasujain275 PTAL once more |
This pr is not ready to merge yet, @Devesh326 is implementing the different and more efficient method for Dockerfile, once those changes are committed I will review them and let you know |
I'm in the process of implementing a multi-stage build, which is a bit new concept for me. I'm currently familiarizing myself with how it works and plan to commit the changes in the next couple of days. |
This pull request did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please verify it has no conflicts with the develop branch and rebase if needed. Mention it now if you need help or give permission to other people to finish your work. |
Closing due to inactivity |
What kind of change does this PR introduce?
Docker feature
Issue Number:
Fixes #1075
Did you add tests for your changes?
No
If relevant, did you update the documentation?
Will update the documentation once the solution is approved.
Summary
Dockerization of a repository has the following advantages:
Have you read the contributing guide?
Yes